package com.lifa.service;

import com.lifa.entity.Chanpin;
import com.lifa.entity.Huiyuan;
import com.lifa.entity.Jicun;
import com.lifa.entity.SPquchushijian;

import java.util.List;

public interface JicunService {
    public List<Jicun> list();

    public int findTotalCount(String name);

    public List<Jicun> findAll(String name, int offset, int limit);

    /**
     * 获取到会员id
     * @param huiyuan_Id
     * @return
     */
    public Jicun queryId(int huiyuan_Id);

    /**
     * 根据会员id修改信息
     * @param jicun
     * @return
     */
    public int update(Jicun jicun);

    /**
     * 添加商品取出记录
     * @param
     * @return
     */
    public int insert(SPquchushijian sPquchushijian);

    /**
     * 查询会员信息
     * @return
     */
    public List<Huiyuan> cha(int huiyuan_Id);

    /**
     * 查询商品信息
     * @return
     */
    public List<Chanpin> chax();

    /**
     * 添加寄存信息
     * @param jicun
     * @return
     */
    public int add(Jicun jicun);
}
